package com.movement.game;

import com.badlogic.gdx.math.Vector2;

public class Movement implements Movable {

	public Movement(){
		this.coordinates = new Vector2();
		this.angle = 0;
	}
	
	
	@Override
	public float getCenterX() {
		
		return this.coordinates.x;
	}

	@Override
	public float getCenterY() {
		
		return this.coordinates.y;
	}
	
	@Override
	public float getAngle() {
		
		return angle;
	}


	@Override
	public void update(float x, float y, float angle) {
		this.coordinates.x = x;
		this.coordinates.y = y;
		this.angle = angle;
		
	}
	
	private Vector2 coordinates;
	private float angle;

	

}
